package top.tagao.m02_creationalPatterns.c_02_builder;


import com.sun.org.apache.xpath.internal.SourceTree;

/**
 * 指挥者
 * @author fu-xiao-liu
 * @Date 2022/7/24 18:22
 */
public class HouseDirector  {
    public House commonHouse(HouseBuilder builder){
           return builder.buildWalls(" 普通房子打地基5米 ")
                    .buildBasic(" 普通房子砌墙10cm")
                    .roofed(" 普通房子屋顶 ").buildHouse();


    }
}
